#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
int main()
{
	int arr1[3] = { 1,2,3 };
	int arr2[3] = { 4,5,6 };
	int temp;
	for (int i = 0; i < 3; i++)
	{
		temp = arr1[i];
		arr1[i] = arr2[i];
		arr2[i] = temp;
		printf("%d", arr1[i]);
		
	}
	printf("\n");
	for (int j = 0; j < 3; j++)
	{
		printf("%d", arr2[j]);
	}
	return 0;
}